package org.jeecg.modules.util.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 数据库备份
 * @Author: jeecg-boot
 * @Date:   2022-07-22
 * @Version: V1.0
 */
@Data
@TableName("tiger_data_backup")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tiger_data_backup对象", description="数据库备份")
public class TigerDataBackup implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**执行状态*/
	@Excel(name = "执行状态", width = 15, dicCode = "backup_status_code")
	@Dict(dicCode = "backup_status_code")
    @ApiModelProperty(value = "执行状态")
    private java.lang.String runStatus;
	/**备份文件*/
	@Excel(name = "备份文件", width = 15)
    @ApiModelProperty(value = "备份文件")
    private java.lang.String backFile;
	/**备份命令*/
	@Excel(name = "备份命令", width = 15)
    @ApiModelProperty(value = "备份命令")
    private java.lang.String dumpCmd;
	/**恢复命令*/
	@Excel(name = "恢复命令", width = 15)
    @ApiModelProperty(value = "恢复命令")
    private java.lang.String recoverCmd;
	/**数据库名称*/
	@Excel(name = "数据库名称", width = 15)
    @ApiModelProperty(value = "数据库名称")
    private java.lang.String dbName;
	/**备份文件名称*/
	@Excel(name = "备份文件名称", width = 15)
    @ApiModelProperty(value = "备份文件名称")
    private java.lang.String backFileName;
	/**操作次数*/
	@Excel(name = "操作次数", width = 15)
    @ApiModelProperty(value = "操作次数")
    private java.lang.Integer operateCount;
	/**文件大小*/
	@Excel(name = "文件大小", width = 15)
    @ApiModelProperty(value = "文件大小")
    private java.lang.String fileSize;
	/**备份时间*/
	@Excel(name = "备份时间", width = 15)
    @ApiModelProperty(value = "备份时间")
    private java.util.Date dumpTime;
	/**恢复时间*/
	@Excel(name = "恢复时间", width = 15)
    @ApiModelProperty(value = "恢复时间")
    private java.util.Date recoverTime;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
}
